<template>
    <div class="static" :class="{ active: isActive, 'text-danger': hasError }"></div>
</template>
<script>
import{createApp} from 'vue'
const app = createApp({
    data() {
    return {
        isActive: true,
        hasError: false
    }
}
})

</script>